package com.onlyyou.custom.service;

import com.onlyyou.custom.entity.Custom;

import java.util.List;

/**
 * @Author: 小野
 * @Date: 2020/1/15 10:39
 */
public interface CustomService {

    List<Custom> findAll(Integer pages,Integer rows);

    List<Custom> findByUserId(Long userId);

    List<Custom> findByOrderUserId(Long orderUserId);

    Custom findById(Long id);

    Custom save(Custom custom);

    void delete(Custom custom);
}
